package net.xdclass.service;

import net.xdclass.request.AddAddressRequest;
import net.xdclass.util.JsonData;
import net.xdclass.vo.AddressVo;

import java.util.List;

/**
 * @Classname AddressService
 * @Description TODO
 * @Date 2022/4/4 17:33
 * @Created by sunhao
 */
public interface AddressService {

  AddressVo detail(String addressId);

  JsonData saveUserAddress(AddAddressRequest addAddressRequest);

  int delete(String addressId);

  List<AddressVo> findUserAllAddress();
}
